<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<title>User List Page</title>
</head>
<body>
<div>
	<span><a href="UserCrudAction.html?action=edit"><img src="images/add-new.png"/></a></span>
</div>
<div align="center">
<table class="hovertable">
	<tr>
		<th>Id</th>
		<th>UserName</th>
		<th>Email</th>
		<th>Created By</th>
		<th>Created On</th>
		<th>Last Modified By</th>
		<th>Last Modified On</th>
		<th>&nbsp;</th>
	</tr>
<s:iterator value="users">
	<tr>
		<td><s:property value="id"/></td>
		<td><s:property value="userName"/></td>
		<td><s:property value="email"/></td>
		<td><s:property value="createdBy.id"/></td>
		<td><s:date name="creationTstamp" format="yyyy-MM-dd" /></td>
		<td><s:property value="lastModifiedBy.id"/></td>
		<td><s:date name="lastModifiedTstamp" format="yyyy-MM-dd"/></td>
		<td><a href="UserCrudAction.html?action=edit&id=<s:property value='id'/>"><img src="images/edit.png"/></a></td>
	</tr>
</s:iterator>
</table>
</div>
</body>
</html>